<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="./js/axios.min.js"></script>
    <title>Document</title>
</head>
<body>
    <script>
        console.log(axios);
        axios({
            url:'http://ajax-api.itheima.net/api/province'
        }).then(function(res){
            //第一个参数就是服务端返回的参数
            console.log(res)

        })
    </script>
</body>
</html>